// SPDX-FileCopyrightText: 2022 Demerzel Solutions Limited
// SPDX-License-Identifier: LGPL-3.0-only

namespace Nethermind.Consensus.AuRa.Validators
{
    public static class AuRaValidatorExtensions
    {
        public static IReportingValidator GetReportingValidator(this IAuRaValidator validator) => validator as IReportingValidator ?? NullReportingValidator.Instance;
    }
}
